var mongoose=require('../bootstrap/mongodb');
var colmun = require('./colmun');
var Schema=mongoose.Schema;
var authorModel =new Schema({
    name:String,
    colmun:{
        type:Schema.Types.ObjectId,
        ref:'colmun'
    }
});
module.exports=mongoose.model('author',authorModel);